﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using HPIT_Library;
using HPIT_Library_DAL;

namespace HPIT_Library_BLL
{
    public class categoryManger
    {
        public static DataTable Select()
        {

            return HPIT_Library_DAL.categorySerivers.Select();
        }
        public static int Insert(string CategoryName)
        {

            return HPIT_Library_DAL.categorySerivers.Insert(CategoryName);
        }
        public static int Delete(int CategoryId)
        {
            return HPIT_Library_DAL.categorySerivers.Delete(CategoryId);
        }
        public static DataTable SelectName()
        {
            
            return HPIT_Library_DAL.categorySerivers.SelectName();
        }
    }
}
